package com.qaml.mes.device.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 检保项目消息
 * </p>
 *
 * @author leikai
 * @since 2024-03-04
 */
@Getter
@Setter
@TableName("t_mes_check_upkeep_message")
public class CheckUpkeepMessageDO extends BaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 检保项目id
     */
    @TableField("check_upkeep_id")
    private String checkUpkeepId;

    /**
     * 检保记录id
     */
    @TableField("check_upkeep_record_id")
    private String checkUpkeepRecordId;

    /**
     * 检保消息类型
     */
    @TableField("type")
    private String type;

    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 用户名称
     */
    @TableField("user_name")
    private String userName;

    /**
     * 发送时间
     */
    @TableField("send_time")
    private Date sendTime;

    /**
     * 检保记录状态
     */
    @TableField("status")
    private String status;

    /**
     * 是否已读  1 已读  0 未读
     */
    @TableField("is_read")
    private Integer isRead;

    /**
     * 检保日期
     */
    @TableField("check_upkeep_date")
    private Date checkUpkeepDate;

    /**
     * 设备名称
     */
    @TableField("eqp_name")
    private String eqpName;

    /**
     * 租户id
     */
    @TableField("tenant_id")
    private Long tenantId;



}
